<?php
/**
 * 没有任何逻辑的Model类
 * @author xiao
 */
namespace App\Scopes\Express;
trait ExpressNewsScope
{
    public  function  scopeRecommend($query){
        return $query->where('chosed', '=', 1)->limit(4)->orderBy('order','desc');
    }
}